<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>系统公告</title>
    <script>
        var requireExtraPaths = {
            extrance: '../../../system_js/sysSystemAnnounce'
        };
		var cssFileLoadArr = ['/content/css/sub/systemAnnounce.css'];
    </script>
    <jsp:include flush="true" page="../base/base.jsp"></jsp:include>

</head>
<body class="site-body" style="background-color: #fff;overflow: auto;">
	<div id="showList" style="display: block;">
		<div data-layout='{"region":"north"}' class="topBar">
		    <div id="top">
		    </div>
		</div>
		<div class="pm-con" id="center" data-layout='{"region":"center","layout":true}'>
		    <table id="grid" style="margin-right: 15px;"></table>
		</div>
	</div>
	
	<section class="main-container" style="display: none;" id="edit">
		<article class="site-col-extra overflow-a">
			<div class="notice-top-bar clearfix">
				<div class="position fl">发布公告</div>
				<div class="operate-group fr">
					<a class="btn back-btn btn-save ml10" id="returnList_e">返回公告列表</a>
				</div>
			</div>
			<div class="notice-article notice-publish">
				<form id="saveAnnounceForm">
					<ul>
						<li><label class="label-text">标题：</label> <input type="text"
							class="input-text" id="announTitle" maxlength="14" data-validator="{required:true,maxLength:14}"> <span class="span-text">请填写公告标题</span>
						</li>
						<li><label class="label-text">发布人：</label> 
							<input type="text" class="input-text" id="updateUser" readonly="readonly"> <span class="span-text">请填写公告发布人</span>
						</li>
						<li>
							<label class="label-text vt"><span class="red-star">*</span>内容：</label>
							<textarea id="announCntnt" name="announCntnt" maxlength="2000" data-validator="{required:true,maxLength:2000}" style="overflow: auto;" rows="30"></textarea>
						</li>
						<li><label class="label-text">&nbsp;</label>
							 <label class="btn btn-save btn-medium" id="saveDoc">发布</label>
						</li>
					</ul>
				</form>
			</div>
			<div class="blank-30"></div>
		</article>
	</section>

	<section class="main-container" id="content" style="display: none;">
		<article class="site-col-extra overflow-a">
		<input type="hidden" id="hid_announId">
			<div class="notice-top-bar clearfix">
				<div class="position fl">公告正文</div>
				<div class="operate-group fr">
					<a class="btn back-btn btn-save ml10" id="returnList_c">返回公告列表</a>
					<a class="btn w-70 ml10 btn-cancel" id="deleteDoc">删除文章</a>
				</div>
			</div>
			<div class="notice-article">
				<div id='docTtile'></div>
				<div id="docAuthor"></div>
				<div class="inner-box" id="docContent"></div>
			</div>
			<div class="blank-30"></div>
		</article>
	</section>
</body>
</html>